home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / language / embedded / 68hc11 / bin2int.doc < prev    next >
Text File  |  1994-10-20  |  2KB  |  26 lines

  1.       This program will read a binary file and output in Intel ASCII Hex
  2. format to standard out. This is one of the most common translation formats
  3. for transfer to emulators and PROM programmers. This format can also be read
  4. directly by the debugger supplied with both MSDOS and CPM if the extension
  5. is ".HEX". I.E. if you use "format83 filename.bin> filename.hex" and then
  6. load filename.hex with the debugger, you will be looking at your original
  7. binary file. If you modify the program, this is an excellent way to test
  8. your modifications.
  9.       This program was not written to be efficient, tricky, or elegant.
  10. It was written to be easily understood, modified, and/or ported to any
  11. system, including 8 bit systems with C compilers. Oh yeah, and it also
  12. was written because it was useful. It is free and I am releasing it to
  13. the public domain. You can do whatever you want with it. If you can get
  14. someone to pay you for it, you have my blessing.
  15.       This program will not solve all your problems! One of the trickiest
  16. parts about using the serial port of your garden variety PC is getting the
  17. cabling and parameters right on the serial port. I have included a small
  18. hex file (contents "hello world\n" :-) which I suggest you use to verify
  19. your connection with. Until you can "copy test.hex com1:" without getting
  20. errors, do not expect to be able to transfer anything meaningful to your
  21. programmer. This program *does* work, I use it exclusively for tranferring
  22. binary files to the Data I/O programmers I use here, but it was written by
  23. me personally for my own use and is not supported by Data I/O. If you do use
  24. this with a Data I/O programmer, select transfer format 83 before starting.
  25. If you don't rename this program, it will impossible for you to forget :-)
  26.